package com.oracle.zebrafreelytraveling.data.RequestResult;

import com.oracle.zebrafreelytraveling.data.bean.Circle;
import com.oracle.zebrafreelytraveling.data.bean.Place;

import java.io.Serializable;
import java.util.List;

/**
 * Created by yydcnjjw on 2017/8/3.
 */

public class ResCircle {


    /**
     * code : 0
     * message : 获取成功
     * data : [{"userNum":3,"circle":{"id":9,"userId":1,"name":"c8","intro":"这是个咸鱼圈子","headImg":"image/circle/1.jpg","about":"2","city":"南京","type":2}},{"userNum":4,"circle":{"id":8,"userId":13,"name":"c7","intro":"这是个咸鱼圈子","headImg":"image/circle/1.jpg","about":"2","city":"南京","type":2}},{"userNum":4,"circle":{"id":7,"userId":2,"name":"c6","intro":"这是个咸鱼圈子","headImg":"image/circle/1.jpg","about":"1","city":"南京","type":1}},{"userNum":4,"circle":{"id":6,"userId":2,"name":"c5","intro":"这是个咸鱼圈子","headImg":"image/circle/1.jpg","about":"1","city":"南京","type":1}},{"userNum":4,"circle":{"id":5,"userId":1,"name":"c4","intro":"这是个咸鱼圈子","headImg":"image/circle/1.jpg","about":"1","city":"南京","type":1}},{"userNum":8,"circle":{"id":4,"userId":1,"name":"c3","intro":"这是个咸鱼圈子","headImg":"image/circle/1.jpg","about":"0","city":"南京","type":1}},{"userNum":7,"circle":{"id":3,"userId":1,"name":"c2","intro":"这是个咸鱼圈子","headImg":"image/circle/1.jpg","about":"3","city":"南京","type":1}},{"userNum":6,"circle":{"id":2,"userId":2,"name":"c1","intro":"这是个咸鱼圈子","headImg":"image/circle/1.jpg","about":"2","city":"南京","type":2}}]
     */

    private String code;
    private String message;
    private List<DataBean> data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean implements Serializable{
        /**
         * userNum : 3
         * circle : {"id":9,"userId":1,"name":"c8","intro":"这是个咸鱼圈子","headImg":"image/circle/1.jpg","about":"2","city":"南京","type":2}
         */

        private Circle circle;
        private Place place;

        public Circle getCircle() {
            return circle;
        }

        public void setCircle(Circle circle) {
            this.circle = circle;
        }

        public Place getPlace() {
            return place;
        }

        public void setPlace(Place place) {
            this.place = place;
        }
    }
}
